
public class milTimeSchedule {

	private int[] milStartTime = new int[100];
	private int[] milEndTime = new int[100];
	int freeSlot = 0;
	private int minMeetTime = 2;
	
	public void setMinimumMeetTime (int minTime)
	{
		minMeetTime = minTime;	
	}
	public int getMeetTime()
	{
		return minMeetTime;
	}
	
	public void setAvailable(int startTime, int endTime)
	{
		milStartTime[freeSlot] = startTime;
		milEndTime[freeSlot] = endTime;
		freeSlot++;
	}
	
	public int getNumSlots()
	{
		return freeSlot;
	}
	
	public int getStart(int time)
	{
		return milStartTime[time];
	}
	
	public int getEnd(int time)
	{
		return milEndTime[time];
	}
}
